package com.wyg.epcommonbase.common.exception;

/**
 * @Author: WangYongGan
 * @Date: 2021/10/27 16:45
 * @Description:
 */
public enum ExceptionEnum {
    exist(10001, "已经存在"),
    notExist(10002,"不存在"),
    paramError(10007,"参数错误"),
    noData(10005, "没有数据"),
    fileEmpty(10006, "文件为空"),
    notLogin(10008,"未登录"),
    dirNotExist(10009, "文件夹不存在且创建失败"),
    systemError(20000,"系统异常"),
    waitDownloadFileError(10010,"文件加载超时"),



    ;
    public int code;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String msg;
    ExceptionEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    ;
}
